-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAYA-104936 instanceIndices may contain duplicate indices. #575
MAYA-104936 instanceIndices may contain duplicate indices. #575
Conversation
@cfmoore007 This is some defensive code that "fixes" the issue you reported with drawing instanced selection. I'm not sure this is the code we'll check in, but this change does give what I believe will be the final performance, if you are interested in testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry but we still have to change basisCurves.
I re-tested this with usd dev branch @ e7ff8e85 rather than 20.05 that we use internally normally, and the issue with the N^2 instances is fixed in that version, so this change doesn't provide a speedup with newer builds of USD. I will protect this defensive code so that it only runs for USD versions 20.05 and older. @cfmoore007 The issue you are seeing is something else, I will keep investigating. |
Thanks, @williamkrick |
9ee858e
to
71451e2
Compare
71451e2
to
a4074ea
Compare
Only add each instance transform at most once.